package com.yjd.pub.settlement.dao;

import com.yjd.comm.base.dao.IBaseDao;

import java.util.List;
import java.util.Map;

/**
 * <b>description</b>：日结算明细数据访问接口<br>
 * <b>time</b>：2017-08-11 17:27:54 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public interface IClearDayDetailDao extends IBaseDao{

    /**
     * 统计平台日结金额
     * @param param
     * @return
     * @throws Exception
     */
    public Double statisticsPfPrice(Map param)throws Exception;


    /**
     * 统计平台日结 笔数
     * @param param
     * @return
     * @throws Exception
     */
    public int statisticsPfNum(Map param)throws Exception;


    /**
     * 查询商户日结明细
     *
     * @param paramMap 查询参数列表
     * @param write 是否是操作主库
     * @return 返回结果列表
     * @throws Exception
     */
    public List querySettlementDetail(Map<Object, Object> paramMap, boolean write) throws Exception;
}